﻿<%@ Page Language="C#" AutoEventWireup="True" EnableViewState="false"  CodeBehind="Main.aspx.cs" Inherits="eBlog.Web.Admin._Main" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta http-equiv="x-ua-compatible" content="ie=7" />
<link href="resources/css/style.css" rel="stylesheet" type="text/css" />
<script src="resources/scripts/admincp.js" type="text/javascript"></script>
<script src="resources/scripts/common.js" type="text/javascript"></script>
</head>
<body>

<div id="append_parent"></div>
<div class="container" id="cpcontainer"><script type="text/JavaScript">parent.document.title = '管理中心 - 首页';if(parent.$('admincpnav')) parent.$('admincpnav').innerHTML='首页';</script>

<div class="itemtitle"><h3>管理中心</h3></div><div id="boardnews"></div>
<table class="tb tb2 nobdb fixpadding"></table>

<table class="tb tb2 nobdb fixpadding">
<tr><th colspan="15" class="partition">在线成员</th></tr>
<tr><td>您好! 部门:<%=RoleName %> 成员:<%=AdminName %> 祝你开心   [ <a href="#" onclick="editpass();return false;">修改密码</a> ]    当前数据库类型：<%=DbType %></td></tr>
</table>

<table class="tb tb2 fixpadding">
<tr><th colspan="15" class="partition">系统信息 </th></tr>

<tr><td class="vtop td24 lineheight">您的IP</td><td class="lineheight smallfont"><%=IP %></td></tr>

<tr><td class="vtop td24 lineheight">您上次登录</td><td class="lineheight smallfont"><%=Time %></td></tr>
<tr><td class="vtop td24 lineheight">总共登录</td><td class="lineheight smallfont"><%=LoginCount %> 次</td></tr>
</table>
<table class="tb tb2 fixpadding">
<tr><th colspan="15" class="partition">操作 </th></tr>
 <tr><td class="vtop td24 lineheight"><a href="main.aspx?action=setsqlite">收缩SQLite数据库</a></td></tr>
</table>
</div>
<form name="cpform" id="cpform" runat="server">
<div id="editpass_menu" class="custom" style="width:305px;display:none">
	<div class="cmain" id="cmain">
	<ul class="cnote" id="drag"><li style="margin-right:5px"><a href="#" onclick="hideMenu();return false;"><img src="/admin/resources/images/btn_map.gif" /></a></li><li><h3>修改您的登录密码</h3></li></ul>
	<div class="cmlist">
	<table class="tb tb2 nobdb" id="base" width="300px">
	    <tr><th colspan="2" class="td27">管理员登录名:</th></tr>
	    <tr class="noborder"><th class="vtop rowform"><input name="txtLoginName" type="text"  readonly="readonly" id="txtLoginName" class="txt" runat="server" /></th>
	    </tr>
    	
	    <tr><th colspan="2" class="td27">管理员姓名:</th></tr>
	    <tr class="noborder"><th class="vtop rowform"><input name="txtAdminName" type="text" id="txtAdminName" class="txt" runat="server" /></th>
	    </tr>
    	
	    <tr><th colspan="2" class="td27">验证当前密码:</th></tr>
	    <tr class="noborder"><th class="vtop rowform"><input name="txtOldPass" type="password" id="txtOldPass" class="txt" runat="server"/></th>
	    </tr>
    	
	    <tr><th colspan="2" class="td27">修改新的密码:</th></tr>
	    <tr class="noborder"><th class="vtop rowform"><input name="txtPassWord" type="password" id="txtPassWord" class="txt" runat="server"/></th>
	    </tr>
    	
	    <tr><th colspan="2" class="td27">重复新的密码:</th></tr>
	    <tr class="noborder"><th class="vtop rowform"><input name="txtPassWord2" type="password" id="txtPassWord2" class="txt" runat="server"/></th>
	    </tr>
	    <tr>
	    <th colspan="3" class="vtop rowform">
	    <asp:Button ID="btnSave" runat="server" Text="保 存" class="btn" OnClick="btnSave_Click" ></asp:Button> <span style="margin-left:20px"> </span>
	    <input type="button" value="关 闭" class="btn" onclick="hideMenu()" />
        </th>
	    </tr>
	
    </table>


	</div>
	</div>
	<div class="cfixbd"></div>
</div>
</form>
<script type="text/JavaScript">
	function editpass() {
		showMenu({'ctrlid':'editpass','evt':'click', 'duration':3, 'pos':'00'});
	}
</script>
</body>
</html>